#include "word.h"

int Word::id() const
{
    return m_id;
}

void Word::setId(int newId)
{
    m_id = newId;
}

const QString &Word::original() const
{
    return m_original;
}

void Word::setOriginal(const QString &newOriginal)
{
    m_original = newOriginal;
}

const QString &Word::translation() const
{
    return m_translation;
}

void Word::setTranslation(const QString &newTranslation)
{
    m_translation = newTranslation;
}

const int &Word::vocabularyId() const
{
    return m_vocabularyId;
}

void Word::setVocabularyId(const int &newVocabularyId)
{
    m_vocabularyId = newVocabularyId;
}
